package top.zywork.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * UserCertificationVO值对象类<br/>
 *
 * 创建于2020-10-26<br/>
 *
 * @author http://ljyanimo.com 刘金泳
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class UserCertificationVO extends BaseVO {

    private static final long serialVersionUID = -9223372035356229178L;

    /**
	 * 用户认证编号
	 */
	private Long id;
	/**
	 * 用户编号
	 */
	@NotNull(message = "此项是必须项")
	private Long userId;
	/**
	 * 真实姓名
	 */
	@NotBlank(message = "此项是必须项")
	@Size(min = 1, max = 10, message = "必须是1-10个字符")
	private String realName;
	/**
	 * 卡号
	 */
	@Size(min = 0, max = 100, message = "必须小于100个字符")
	private String cardNumber;
	/**
	 * 图片
	 */
	@Size(min = 0, max = 255, message = "必须小于255个字符")
	private String cardImg;

	@Size(min = 0, max = 255, message = "必须小于255个字符")
	private String cardImg1;

	@Size(min = 0, max = 255, message = "必须小于255个字符")
	private String cardImg2;

	@Size(min = 0, max = 255, message = "必须小于255个字符")
	private String cardImg3;
	/**
	 * 认证类型 1、一卡通2、学生证
	 */
	private Integer type;

	private String typeValue;
	/**
	 * 审核状态
	 */
	private Integer checkStatus;

	private String checkStatusValue;
	/**
	 * 审核描述
	 */
	@Size(min = 0, max = 255, message = "必须小于255个字符")
	private String checkDes;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 是否激活
	 */
	private Byte isActive;

}
